<?php

#    Document   : editprofile
#    Created on : May 9, 2011, 6:46:49 PM
#    Author     : ClarkT AKA FalleN
#    Company    : Amodity
#    Web        : http://www.amodity.com
#    Copyright  : 2011
if ($this->session->flashdata('success')) {
    echo '<p class="notification success">'.  $this->session->flashdata('success') .'</p>';
}
if ($this->session->flashdata('error')) {
    echo '<p class="notification error">'.  $this->session->flashdata('error') .'</p>';
}

echo form_open('usercp/editprofile');
echo form_label('First Name', 'firstname');
echo form_input(array(
    'name' => 'firstname',
    'class' => 'editfield',
    'value' => $row->first_name
));
echo form_label('Last Name', 'lastname');
echo form_input(array(
    'name' => 'lastname',
    'class' => 'editfield',
    'value' => $row->last_name
));
echo form_label('Email', 'email');
echo form_input(array(
    'name' => 'email',
    'class' => 'editfield',
    'value' => $row->email_address
));
echo form_submit('doedit', $this->lang->line('g_submit'));

?>
